package com.xja.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.xja.mapper.MessageInfoMapper;
import com.xja.entity.MessageInfo;
import com.xja.service.MessageInfoService;
@Service
public class MessageInfoServiceImpl implements MessageInfoService{

    @Resource
    private MessageInfoMapper messageInfoMapper;

    @Override
    public int deleteByPrimaryKey(Integer mid) {
        return messageInfoMapper.deleteByPrimaryKey(mid);
    }

    @Override
    public int insert(MessageInfo record) {
        return messageInfoMapper.insert(record);
    }

    @Override
    public int insertSelective(MessageInfo record) {
        return messageInfoMapper.insertSelective(record);
    }

    @Override
    public MessageInfo selectByPrimaryKey(Integer mid) {
        return messageInfoMapper.selectByPrimaryKey(mid);
    }

    @Override
    public int updateByPrimaryKeySelective(MessageInfo record) {
        return messageInfoMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(MessageInfo record) {
        return messageInfoMapper.updateByPrimaryKey(record);
    }

}
